chore(deps): update dependency reuse to v5 - autoclosed #179
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot].This notice will be removed on 2025-10-07.
This PR contains the following updates:
==3.0.1->==5.1.1Release Notes
fsfe/reuse-tool (reuse)
v5.1.1Compare Source
Fixed
(#1191)
was introduced in v5.0.0. Strings that were already translated before the
release of v5.0.0 are now translated again. (#1216)
v5.1.0Compare Source
Added
.dtd(#1141).gperf(#1131).erland.hrl, leex and yecc Erlang parser generators.xrland.yrl(#1117).exand.exs) (#1117).gleam) (#1117).lean,.olean, and.ilean) (#1188)--jsonflag to thesupported-licensessubcommand. (#1187)Changed
Cargo.lockto uncommentable. (#1169)reuse annotatepreviously would insert a newline after a header, which isnot always a desirable behavior. Instead of inserting a newline,
reuse annotatewill now respect the existing whitespace of the file wherethe header is being placed. When the license header is being added to a file
for the first time, a space will be added after the license, but subsequent
updates to the header will leave the whitespace alone. (#1136)
spdx-license-list-datato v3.27.0.v5.0.2Compare Source
Fixed
v5.0.1Compare Source
Fixed
v5.0.0Compare Source
This is a big release for a small change set. With this release, the tool
becomes compatible with
REUSE Specification 3.3, which is a very
subtly improved release of the much bigger version 3.2.
Added
.cabal,cabal.project) (#1089, #1090).envrc(#1061).flake.lock(#1061).j2) (#1036)poetry.lock) (#1037)lint-filesubcommand to enable running lint on specific files. (#1055)click. (#1084)spdx-string,spdx-string-c, andspdx-string-symbol. (#979)Changed
Bumped REUSE Specification version to
version 3.3. (#1069)
Switched from
argparsetoclickfor handling the CLI. The CLI should stillhandle the same, with identical options and arguments, but some stuff changed
under the hood. (#1084)
Find here a small list of differences:
-his no longer shorthand for--help.--versionnow outputs "reuse, version X.Y.Z", followed by a licensingblurb on different paragraphs.
annotate's--skip-unrecognisedand--style, anddownload's--outputand--all.as
annotate,lint-file, ordownload, now also allow zero arguments.This will do nothing, but can be useful in scripting.
annotateandlint-filenow also take directories as arguments. This willdo nothing, but can be useful in scripting.
Changes to comment styles:
.sfiles (GNU as) now use the C comment style. (#1034).ldfiles (GNU ld) now use the C comment style. (#1034)REUSE.tomlno longer needs a licensing header. (#1042).gitkeepis no longer ignored, because this is not defined in thespecification. However, if
.gitkeepis a 0-size file, it will remain ignored(because 0-size files are ignored). (#1043)
If
REUSE.tomlis ignored by VCS, the linter no longer parses this file.(#1047)
SPDX license and exception list updated to v3.25.0.
More
LICENSEandCOPYING-like files are ignored. Now, such files suffixedby
-anythingare also ignored, typically something likeLICENSE-MIT. Fileswith the UK spelling
LICENCEare also ignored. (#1041)Removed
Fixed
REUSE.toml, fixed the globbing of a single asterisk succeeded by a slash(e.g.
directory-*/foo.py). The glob previously did nothing. (#1078)attrsto>=21.3. Older versions donot import correctly. (#1044)
VCS. (#1047)
linthas been slightly improved, getting rid of anerrant newline. (#1091)
reuse annotate --merge-copyrightsnow works more reliably with copyrightprefixes. This still needs some work, though. (#979)
REUSE.tomlfiles and one ofthose files could not be parsed, the wrong
REUSE.tomlwas signalled as beingunparseable. This is now fixed. (#1047)
REUSE.tomldid not correctly apply its annotations tofiles which have an accompanying
.licensefile. (#1058)reuse download SPDX-IDENTIFIER+, downloadSPDX-IDENTIFIERinstead. This also works for
reuse download --all. (#1098)v4.0.3Compare Source
Fixed
attrsto>=21.3. Older versions donot import correctly. (#1044)
v4.0.2Compare Source
Fixed
annotate --merge-copyrightson a file that does not yet have a year in thecopyright statement. This bug was introduced in v4.0.1. (#1030)
v4.0.1Compare Source
Fixed
updating
poetry.lock. (#1028)v4.0.0Compare Source
This release of REUSE implements the new
REUSE Specification v3.2. It adds the
REUSE.tomlfile format as a replacement for.reuse/dep5. The new format iseasier to write and parse, is better at disambiguating certain corner cases, and
is more flexible for customisation and future additions.
To convert your existing
.reuse/dep5toREUSE.toml, you can simply use thereuse convert-dep5command.Alongside the
REUSE.tomlfeature is a wealth of other improvements.reuse lint --linesmay be especially interesting for CI workflows, as well asthe fact that the amount of
PendingDeprecationWarnings has been drasticallyreduced now that the information aggregation behaviour of
.reuse/dep5isexplicitly defined in the specification.
The tool has also been made easier to use with the addition of man pages. The
man pages can be found online at https://reuse.readthedocs.io/en/stable/man/.
Your distribution's packager will need to make them accessible via
man reuse(1). Unfortunately, man pages cannot be made accessible via Python'spackaging, although the full documentation (including man pages) is included in
the sdist.
This changeset also contains the changes of v3.1.0a1.
Added
REUSE.toml. (#863)reuse convert-dep5to convert.reuse/dep5toREUSE.toml. (#863)reusecommands. Distribution maintainers might wishto distribute the (Sphinx-built) man pages. (#975)
.asm) (#928).graphqls,.gqls) (#930).cu,.cuh) (#938).csproj,.fsproj,.fsx,.props,.sln,.vbproj) (#940)Cargo.lock) (#937).clang-tidy) (#961).propertiesfiles (#968).htaccessfiles (#985).npmrcfiles (#985).cls) (#971).cson) (#1002).hjson) (#1002).json5) (#1002).jsonc) (#1002).taprc) (#997).zshrc) (#997).t) (#997).bats) (#997).m) (#604).vhdl) (#564)Earthfileand.earthlyignore) (#1024)manfor UNIX Man pages (.man) (#954)--linesoutput option forlint. (#956)% !TEXand% !BIBas shebangs in TeX and BibTeX files, respectively(#971)
--skip-unrecognized. (#974)annotate, rename--copyright-styleto--copyright-prefix. The formerparameter is still supported. (#973)
--skip-unrecognized(#974)cppandcppsinglestyle shorthands (see changes). (#941)Changed
.sfiles now use the Python comment style as per GNU Assembler (gas). (#928)COPYINGorLICENSEwas ignored. Thishas been changed. Now, files like
COPYING_READMEare no longer ignored, butCOPYINGandCOPYING.txtare still ignored (in other words: exact matches,or
COPYING+ a file extension). Idem ditto forLICENSE. (#886)attrs>=21.1(#863)tomlkit>=0.8(#863)c,css, andcsinglestyles work. (#941)cused to support multi-line comments; it now only supports multi-line/* */comments. This is identical to the oldcssstyle.cpphas been added, which supports multi-line/* */comments andsingle-line
//comments. This is identical to the oldcstyle.csinglehas been renamed tocppsingle, and it supports only single-line//comments.Deprecated
.reuse/dep5is marked deprecated.reuse convert-dep5will help you switchto
REUSE.toml. (#863)Removed
and the contents of a file has been removed. This behaviour is now explicitly
specified in REUSE Specification v3.2. (#1017, related to #779)
reuse initremoved. (#863)csingleandcssstyle shorthands (see changes). (#941)Fixed
Created:was wrongly formatted since 3.0.0. It nowreturns a correctly formatted ISO 8601 date again. (#952)
reuse downloadwhere being inside of a LICENSES/directory should not create a deeper LICENSES/LICENSES/ directory. (#975)
CONTRIBUTING.mdto the sdist. (#987)reuse spdx, fixed the output to be more compliant by capitalisingSPDXRef-Document DESCRIBESappropriately. (#1013)v3.0.2Compare Source
Fixed
annotate's '--stylenow works again when used for a file with anunrecognised extension. (#909)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.